package com.ailink.spring.aop;

import org.springframework.stereotype.Component;

@Component
public class MyAop {

    private String value = "My Aop -- value";

    public String say(String content) {
//        if (content.contains("my"))
//        throw new RuntimeException();
        System.out.println(this.jump(content));
        return "I want to say：" + content;
    }

    public String jump(String content) {
        return "I want to jump：" + content;
    }
}
